package tmproject.hlhj.fhp.anwser

import android.os.Bundle
import com.tenma.ventures.base.TMActivity

/**
 * Created by Never Fear   on 2018\8\20 0020.
Never More....
 */
abstract class BaseAty :TMActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(getContentId())
        initView()
        despatchData()
        setListener()
    }

    abstract fun despatchData()
    abstract fun setListener()
    abstract fun initView()
    abstract fun getContentId(): Int
}